<?php
/**
 * @author Minh Luan
 * @copyright 2012
 */
include "../service/userService.php";
$gender = $_POST["gender"];
$add = $_POST["address"];
$telephone = $_POST["telephone"];
$email = $_POST["email"];
$description = $_POST["description"];
$dob = $_POST["dob"];

$id = $_POST["id"];
$type = $_POST["type"];

updateInformation($id, $type, $add, $telephone, $email, $description, $dob);

echo "<script>window.location.href='../pc/personalInformation.php'</script>"
?>